﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>退货订单- ${web.name}${web.additionalTitle!}</title>
    <link href="${root}/css/global.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/layout.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/member.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/buy.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/order.css" type="text/css" rel="stylesheet"/>

    <script src="${root}/js/jquery.js" type="text/javascript"></script>
    <script src="${base}/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#baseForm").validate();
        });
    </script>
</head>
<body>
[#--
[#include '../shop/develop/inc_head.html'/]
--]
[#include "../include/header_top.html"/]
<div id="head">
    [#include "../include/header_search.html"/]
    [#include "../include/header_nav.html"/]
</div>
<div class="w960 mt10">
    [#include "member_nav.html"/]
    <div id="container" class="user_right clearfix">
        <div class="usercenter_position"><span>兑换</span></div>
        <div id="demo2" class="s-demo">
            <form id="baseForm" action="myscore.htm" method="post">
                <div class="ks-switchable-content">
                    <div>
                        <table id="detailShowtab">
                            <thead>
                            <tr>
                                <th width="100" style="text-align:left; padding-left:20px;">礼品名称</th>
                                <th width="100">数量</th>
                                <th width="100">状态</th>
                                <th width="100">积分</th>
                                <th width="100">收货地址</th>
                                <th width="100">日期</th>
                                <th width="100">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            [#list list as giftExchange]
                            <tr>
                                <td style="text-align:left;vertical-align: middle; height:60px;">
                                    ${giftExchange.gift.giftName}
                                </td>
                                <td>${giftExchange.amount!}</td>
                                <td>[@s.m "exchange.status.${giftExchange.status}"/]</td>
                                <td>${giftExchange.totalScore!}</td>
                                <td>${giftExchange.detailaddress!}</td>
                                <td>${giftExchange.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
                                [#if giftExchange.status=2]
                                <td><a href="${base}/shopScore/exchange_accomplish.htm?id=${giftExchange.id!}">确认收货</a>
                                </td>
                                [/#if]
                            </tr>
                            [/#list]
                            </tbody>
                        </table>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="clear"></div>

[#include "../include/footer.html"/]

</body>
</html>